﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ACC.Data.Entities.Mes
{
    /// <summary>
    /// MES-SCADA-20 上料状态(三大件)
    /// </summary>
    public class SCADAMaterialTrack
    {
        public string center_code;
        public string center_name;

        public List<SCADADeliveryOrder> detail;
    }

    public class SCADADeliveryOrder
    {
        public string order_code;
        public string material_code;
        public string material_name;
        public string request_time;
        public string delv_order;

        public string op_code;
        public string op_name;
        public string cell_code;
        public string cell_name;

        public string in_port;       // 上料口
        public uint delv_state = 1;  // 1-配送完成，默认, 2-异常结束

        public List<SCADAMaterial> detail1;
    }

    /// <summary>
    /// 上料信息
    /// </summary>
    public class SCADAMaterial
    {
        public string item_code;    // 物料编码
        public string item_name;
        public uint actual_qty;     //实际配送数量，默认配送单数量
        public string fixture_code; // 统一的工装编码
        public string fixture_num;  // 三大件的工装号
    }
}
